package com.eurabia.eggchat.service;

import java.util.List;
import com.github.pagehelper.Page;
import com.eurabia.eggchat.pojo.SysEggchatReply;
import com.eurabia.eggchat.pojo.form.SysEggchatReplyForm;
import com.eurabia.eggchat.pojo.query.SysEggchatReplyQuery;

/**
 * SysEggchatReplyService 
 */
public interface SysEggchatReplyService {

    /**
     * 查询 SysEggchatReply
     */
    List<SysEggchatReply> find(final SysEggchatReplyQuery query);
    
    /**
     * 分页查询 SysEggchatReply
     */
    Page<SysEggchatReply> findByPage(final SysEggchatReplyQuery query);

    /**
     * 通过id得到一个 SysEggchatReply
     */
    SysEggchatReply get(final String id);
    
    /**
     * 新增 SysEggchatReply
     */
    void add(final SysEggchatReplyForm form);

    /**
     * 修改 SysEggchatReply
     */
    int update(final SysEggchatReplyForm form);
    
    /**
     * 删除一个 SysEggchatReply
     */
    int delete(final String id);
	
	/**
     * 修改是否可用
     */
    int changeEnabled(final String id, final Integer enabled);
}